﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication3
{
    public partial class MainMenuForm : Form
    {
        public MainMenuForm()
        {
           
            InitializeComponent();
            this.WindowState = FormWindowState.Maximized;
        }

        private void newUserToolStripMenuItem_Click(object sender, EventArgs e)
        {
             
            NewUserForm newuserform = new NewUserForm();
            newuserform.MdiParent = this;
            newuserform.Show();
            

        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        

        private void newCustomerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CustomerRegisteration custregistration = new CustomerRegisteration();
            custregistration.MdiParent = this;
            custregistration.Show();


        }

        private void jobCodeToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            SearcJobCode searchjobcode = new SearcJobCode();
            searchjobcode.MdiParent = this;
            searchjobcode.Show();
        }

        private void exitToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            Application.Exit();

            this.Dispose();
        }

        private void jobCodeToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            TotalJobCodeForm totaljobcodeform = new TotalJobCodeForm();
            totaljobcodeform.MdiParent = this;
            totaljobcodeform.Show();

        }

        private void exitToolStripMenuItem_Click_2(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void paymentToolStripMenuItem1_Click(object sender, EventArgs e)
        {
             SearchPayment searchpayment = new SearchPayment();
             searchpayment.MdiParent = this;
             searchpayment.Show();
        }

        private void driverPaymentToolStripMenuItem1_Click(object sender, EventArgs e)
        {
          //  SearchPayment searchpayment = new SearchPayment();
           // searchpayment.Show();
          //  DriverPaymentForm driverpaymentform = new DriverPaymentForm();
            //driverpaymentform.Show();
        }

        
        

        private void customerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CustomerSearch custsearch = new CustomerSearch();
            custsearch.MdiParent = this;
            custsearch.Show();
        }

        private void merchandiseToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MERCHANDISING merchandising = new MERCHANDISING();
            merchandising.MdiParent = this;
            merchandising.Show();
        }

        private void driverPaymentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DriverPaymentForm driverpaymentform = new DriverPaymentForm();
            driverpaymentform.MdiParent = this;
            driverpaymentform.Show();

        }

        private void newJobCodeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewJobCode newjobcode = new NewJobCode();
            newjobcode.MdiParent = this;
            newjobcode.Show();
        }

        private void quatationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            QuotationForm quotationform = new QuotationForm();
            quotationform.MdiParent = this;
            quotationform.Show();
        }

        private void QutationConfirmationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            QuotationConfirmationForm quotationformconfirmation = new QuotationConfirmationForm();
            quotationformconfirmation.MdiParent = this;
            quotationformconfirmation.Show();
        }

        private void driverSelectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DriverSelectionForm driverselectionform = new DriverSelectionForm();
            driverselectionform.MdiParent = this;
            driverselectionform.Show();
        }

        private void humanResourceToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HumanResourceForm humanresourceform = new HumanResourceForm();
            humanresourceform.MdiParent = this;
            humanresourceform.Show();

        }

        private void newDriverToolStripMenuItem_Click(object sender, EventArgs e)
        {
           
           
        }

        private void newDriverToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            Administraror.NewdriverRegistrationform driverregistrationform = new Administraror.NewdriverRegistrationform();
            driverregistrationform.MdiParent = this;
            driverregistrationform.Show();
        }

        private void companyPaymentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CompanyPaymentForm companypaymentform = new CompanyPaymentForm();
            companypaymentform.MdiParent = this;
            companypaymentform.Show();
        }

        private void form1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
        }

        private void purchaseOrderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PurchaseOrder purchaseordermenu = new PurchaseOrder();
            purchaseordermenu.MdiParent = this;
            purchaseordermenu.Show();

        }

        private void purchaseRequestToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Purchase_RequistitonForm purchaserequest = new Purchase_RequistitonForm();
            purchaserequest.MdiParent = this;
            purchaserequest.Show();
        }

        private void pOApprovalToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Purchase.PurchaseApproval puraprl = new Purchase.PurchaseApproval();
            puraprl.MdiParent = this;
            puraprl.Show();
        }

       

       
       
    }
}
